Skip to main content

mergAVEditVideo

Type

function

Summary

Edits the video and saves the result in the temporary folder and returns the file path

Syntax

mergAVEditVideo(<pFilePath>, [<pQuality>], [<pDuration>])

Description

iOS Only.

Parameters

NameTypeDescription

pFilePath

the file path of the video

pQuality

(optional with "medium" default) the quality of the video

  • high : iOS 3.1+
  • medium : iOS 3.1+
  • low : iOS 3.1+
  • 640x480 : iOS 4.0+
  • 1280x720 : iOS 5.0+
  • 960x540 : iOS 5.0+

pDuration

(optional with 600 default) the maximum duration of the video

Examples

put mergAVEditVideo(tVideoPath,"medium",180) into tEditedVideoPath
put mergAVEditVideo(tVideoPath,"low") into tEditedVideoPath

Value

NameTypeDescription

return

one of:

  • mergAV:Error: can't edit video
  • mergAV: cancelled
  • The path to the saved video file

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

mac

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?